<template>
  <div class="not-found-wrapper">
    <div class="content">
      <h2>404</h2>
      <p>抱歉！您访问的页面<em>失联</em>啦...</p>
      <el-button @click="$router.go(-1)">返回上一页</el-button>
      <router-link to="/">
        <el-button type="primary" class="btn-gohome">进入首页</el-button>
      </router-link>
    </div>
  </div>
</template>

<script>
export default {
}
</script>

<style lang="scss">
.not-found-wrapper {
  position: absolute;
  top: 60px;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  .content {
    position: fixed;
    top: 15%;
    left: 50%;
    z-index: 2;
    padding: 30px;
    text-align: center;
    transform: translate(-50%, 0);
  }
  h2 {
    margin: 20px 0 15px;
    font-size: 8em;
    font-weight: 500;
    color: rgb(55, 71, 79);
  }
  p {
    margin: 0 0 30px;
    font-size: 26px;
    text-transform: uppercase;
    color: rgb(118, 131, 143);
    > em {
      font-style: normal;
      color: #ee8145;
    }
  }
  .btn-gohome {
    margin-left: 30px;
  }
}
</style>
